#app {
    font-size: 14px;
}
.primary {
    color: $primary;
}
.align-center {
    text-align: center;
}
.fn-text {
    margin-right: 8px;
    cursor: pointer;
}
.ib {
    display: inline-block;
}
.flex {
    display: flex;
}
.flex-center {
    display: flex;
    align-items: center;
}
.flex-end {
    justify-content: flex-end;
}
.icon-middle {
    i, span {
        vertical-align: middle;
    }
}
.text-right {
    text-align: right;
}
.link {
    color: $primary;
    text-decoration: underline;
    cursor: pointer;
}


.ql-toolbar, .ql-container {
    width: 100%;
}
.ql-container {
    min-height: 300px;
}
.ql-snow .ql-picker-label::before {
    position: absolute;
}
.ql-snow .ql-color-picker .ql-picker-label, .ql-snow .ql-icon-picker .ql-picker-label {
    padding: 0 4px!important;
}


/*** 搜索块背景 ***/
.filter-wrap {
    margin-bottom: 24px;
    padding: 24px;
    background: #fff;
    box-shadow: 0px 0px 30px 0px rgba(47,63,78,0.08);
    border-radius: 2px;
    .el-form-item,
    .el-select {
        width: 100%;
    }
}
/*** 表格块背景 ***/
.section-wrap {
    padding: 24px;
    background: #fff;
    box-shadow: 0px 0px 30px 0px rgba(47,63,78,0.08);
    border-radius: 2px;

    .sec-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 -24px;
        padding: 0 24px 24px;
        border-bottom: 1px solid #eee;
        &>p{
            font-size: 16px;
            font-weight: 500;
        }
    }
}
.section-child-wrap {
    padding: 24px;
    background: #fafafa;
    border-radius: 2px;
    .sec-title {
        font-size: 14px;
        font-weight: 500;
        border: 0;
    }
}
/*** 表格顶部操作区 ***/
.table-actions-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    .tab-title {
        font-size: 16px;
    }
}
/*** 分页区 ***/
.pagination-wrap {
    margin-top: 24px;
    justify-content: flex-end;
}
/*** 输入 ***/
.fulan-form-row {
    .el-col {
      margin-top: 24px;
    }
    .label {
        position: relative;
        margin-bottom: 8px;
        &.required {
            padding-left: 8px;
        }
        &.required::before {
            content: "*";
            display: block;
            position: absolute;
            top: 25%;
            left: 0;
            color: red;
            font-size: 12px;
        }
    }
    .el-select {
      width: 100%;
    }
}
/*** 上传按钮 ***/
.fulan-upload-wrap {
    position: relative;
    &.primary {
        color: #fff;
        background-color: $primary;
    }
    .input-upload {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
    }
}
/*** 标签 ***/
.tag-list {
    margin: -12px;
    [class*="fn"] {
        cursor: pointer;
    }
    li {
        display: inline-block;
        position: relative;
        margin: 12px;
        padding: 8px 16px;
        min-width: 60px;
        text-align: center;
        color: #fff;
        border: 1px solid $primary;
        background: $primary;
        border-radius: 2px;
        &.auto {
            color: $primary;
            border: 1px solid #dcdcdc;
            background: #fff;
        }
    }
    .fn-close {
        z-index: 2;
        position: absolute;
        top: -7px;
        right: -7px;
        width: 14px;
        height: 14px;
        color: #fff;
        border-radius: 50%;
        background-color: #d6170d;
    }
    
}

.el-form-item {
    > label {
        color: var(--el-text-color-primary);
    }
    .el-select {
        width: 100%;
    }
}
.el-date-editor {
    width: 100%!important;
}

.expand {
    &-enter-active,
    &-leave-active {
        transition: all 0.15s ease;
    }

    &-enter-from,
    &-leave-to {
        max-height: 0;
        opacity: 0;
        margin-bottom: 0;
    }
}
.fade {
    &-enter-active,
    &-leave-active {
        opacity: 1;
        transition: all 0.15s ease;
    }

    &-enter-from,
    &-leave-to {
        opacity: 0;
    }
}

.table-box {
    box-sizing: border-box;
    .el-table__header {
        .cell {
            color: #333 !important;
        }
    }
    .col-actions .cell {
        padding: 0 4px;
        text-align: center;
        .el-button.is-link {
            padding: 2px;
        }
    }
    .col-actions.auto .cell  {
        padding: 0;
        .el-button.is-link  {
            padding: 0;
            &::after {
                content: "/"
            }
            &:last-child::after {
                content: ""
            }
        }
    }
    .el-table__body {
        .col-small .cell {
            font-size: 12px;
        }
    }
    .el-button {
        margin: 0!important;
    }
}
.table-content {
    thead th {
        color: #333 !important;
        font-weight: 700 !important;
    }
}

// typography
.t- {
    &headline {
        font-size: 16px;
        line-height: 24px;
        color: #222;
        font-weight: 700;
    }
}

.page-box {
    padding: 24px;
    background-color: #fff;
    margin-top: 16px;
    @include shadow();
  
    :deep(.el-form-item) {
      display: block;
    }
  
    .box-head {
      margin: -24px;
      margin-bottom: 16px;
      padding: 16px 24px;
      display: flex;
      flex-direction: row;
      align-items: baseline;
      border-bottom: 1px solid #f0f0f0;
  
      font-size: 18px;
      font-weight: 500;
      line-height: 24px;
  
      .box-actions {
        justify-self: flex-end;
        margin-left: auto;
      }
    }
}
  
.edit-footer {
    z-index: 999;
    position: sticky;
    bottom: -24px;
    margin: auto -24px -24px;
    padding: 16px 24px;
    text-align: right;
    background-color: #fff;
    @include shadow();
}

.popover-del-box {
    text-align: center;
    p {
        margin-bottom: 10px;
    }
}
// 弹窗容器高度
.dpps-dialog-content {
    overflow-y: auto;
    max-height: 500px;
}